package cn.zhiyong.pr.main;

import javax.swing.UIManager;
import javax.swing.UnsupportedLookAndFeelException;

public class PrMain {
	MainController mainController;

	public PrMain() {
		mainController = new MainController();
	}

	public static void main(String[] args) {
		try {
			UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName());
		} catch (ClassNotFoundException e) {
			e.printStackTrace();
		} catch (InstantiationException e) {
			e.printStackTrace();
		} catch (IllegalAccessException e) {
			e.printStackTrace();
		} catch (UnsupportedLookAndFeelException e) {
			e.printStackTrace();
		}
		new PrMain().go();
	}

	public void go() {
		mainController.showMainFrame();
	}

}
